import { usenowDate } from '../util/util';

var storage = window.localStorage;

/**
 * @returns 即时库存list*/
export function use_jskc_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: '60px' },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "规格型号", key: "ggxh" },
    { show: true, title: "库存数量", key: "kcsl", style: { color: "#0517bc" } },
    { show: true, title: "单位", key: "dw", searchtype: "select",},
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "金蝶编码", key: "jdbm" },
  ]
}

/**
 * @returns 即时库存版本号list*/
export function use_jskc_bbh_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: '60px' },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "规格型号", key: "ggxh" },
    { show: true, title: "库存数量", key: "kcsl", style: { color: "#0517bc" } },
    { show: true, title: "单位", key: "dw", searchtype: "select",},
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "金蝶编码", key: "jdbm" },
    { show: true, title: "版本号", key: "bbh" },
  ]
}

/**
 * @returns 即时库存仓库list*/
export function use_jskc_ck_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: '60px' },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "规格型号", key: "ggxh" },
    { show: true, title: "库存数量", key: "kcsl", style: { color: "#0517bc" } },
    { show: true, title: "仓库", key: "ck", searchtype: "select", },
    { show: true, title: "单位", key: "dw", searchtype: "select",},
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "金蝶编码", key: "jdbm" },
  ]
}

/**
 * @returns 即时库存仓库和版本号list*/
export function use_jskc_ckAndbbh_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: '60px' },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "规格型号", key: "ggxh" },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "库存数量", key: "kcsl", style: { color: "#0517bc" } },
    { show: true, title: "仓库", key: "ck", searchtype: "select", },
    { show: true, title: "金蝶编码", key: "jdbm" },
    { show: true, title: "单位", key: "dw" },
    { show: true, title: "版本号", key: "bbh" },
  ]
}